package org.permission.dao;

import org.permission.pojo.notice;

import java.util.List;

public interface noticeDao {

    public void add(notice notice);

    public void delete(Integer id);

    public void batchDelete(Integer[] ids);

    public void update(notice notice);

    public notice getById(Integer id);

    public List<notice> getAll();

    public List<notice> getByName(String name);

    public List<notice> getByNames(String name);

}
